package fourzerofour.liangjunwei.day01;

import java.util.Scanner;

public class Question8 {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个数：");
        int n=scanner.nextInt();
        String str = "0";
        for(int i=2;i<n;i=i+2){
            str += " " + (i+2);
        }
        System.out.println(n + "以内的奇数为："+ str);
    }
}
